﻿using System;
namespace EnterpriseFund.Model
{
    /// <summary>
    /// SpecificAdjust:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class SpecificAdjust
    {
        public SpecificAdjust()
        {
        }
        #region Model
        /// <summary>
        /// 
        /// </summary>
        public string FSpecificAdjustNo
        {
            set;
            get;
        }

        public string FStatus
        {
            set;
            get;
        }

        public string FStatusStr
        {
            get {
                switch (FStatus)
                {
                    case "0":
                        return "退回";
                    
                    case "1":
                        return "已发送";
                       
                    case "2":
                        return "已复核";
                        
                }
                return "";
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FEntityNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal NSRDZDAH
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FIssueID
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FSpecialAdjustClsNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal FYear
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FEnterprisePropNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FFinancePropNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal FAdjustAmount
        {
            set;
            get;
        }

        public string FIssueNo
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FNote
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FInsEmpNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FInsDeptNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime FInsDate
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FInsIP
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FUpdEmplNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FUpdDeptNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FUpdDate
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FUpdIP
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FAllowanceFileEntryID
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FFinancePropName
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FFinancePropShortName
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FEnterprisePropName
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string NSRBM
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string NSRMC
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string NSRSBH
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FEmpName
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FSpecialAdjustName
        {
            set;
            get;
        }

        /// <summary>
        /// 
        /// </summary>
        ///         
        public string FInsDateStr
        {
            get
            {
                if (FInsDate != null)
                {
                    return DateTime.Parse(FInsDate.ToString()).ToString("yyyy-MM-dd");
                }
                else
                {
                    return "";
                }
            }
        }
        #endregion Model

    }
}

